package com.ck.client.service;

import com.ck.common.model.DeviceSetting;

public interface DeviceSettingService {

	/**
	 * 保存终端设置信息
	 *
	 * @param deviceSetting DeviceSetting类型对象
	 */
	boolean register(DeviceSetting deviceSetting);

	/**
	 * 通过mac获取终端设置信息
	 *
	 * @param deviceCode 终端code
	 * @return DeviceSetting
	 */
	DeviceSetting getDeviceSetting(String deviceCode);
	
	/**
	 *  更新终端设置信息
	 * @param deviceSetting    DeviceSetting类型对象
	 */
	boolean updateDeviceSetting(DeviceSetting deviceSetting);
	
}
